home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / sine.tex < prev    next >
LaTeX Document  |  1994-04-27  |  1.0 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: sine.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 73 69 6e 20 2d 2d 2d |\section|{sin ---|
|00000010| 20 53 69 6e 65 7d 0d 5c | 6c 61 62 65 6c 7b 66 6e | Sine}.\|label{fn|
|00000020| 3a 73 69 6e 7d 0d 5c 69 | 6e 64 65 78 7b 73 69 6e |:sin}.\i|ndex{sin|
|00000030| 28 29 7d 0d 5c 69 6e 64 | 65 78 7b 73 69 6e 65 7d |()}.\ind|ex{sine}|
|00000040| 0d 5c 62 65 67 69 6e 7b | 72 61 69 6c 7d 0d 53 69 |.\begin{|rail}.Si|
|00000050| 6e 65 20 3a 20 27 73 69 | 6e 27 20 27 28 27 20 28 |ne : 'si|n' '(' (|
|00000060| 20 53 63 61 6c 61 72 20 | 7c 20 4d 61 74 72 69 78 | Scalar || Matrix|
|00000070| 20 29 20 27 29 27 20 3b | 0d 5c 65 6e 64 7b 72 61 | ) ')' ;|.\end{ra|
|00000080| 69 6c 7d 0d 0d 5c 76 65 | 72 62 2b 73 69 6e 2b 20 |il}..\ve|rb+sin+ |
|00000090| 63 61 6c 63 75 6c 61 74 | 65 73 20 74 68 65 20 73 |calculat|es the s|
|000000a0| 69 6e 65 20 6f 66 20 74 | 68 65 20 61 72 67 75 6d |ine of t|he argum|
|000000b0| 65 6e 74 2c 20 77 68 69 | 63 68 20 6d 75 73 74 20 |ent, whi|ch must |
|000000c0| 62 65 20 73 70 65 63 69 | 66 69 65 64 0d 69 6e 20 |be speci|fied.in |
|000000d0| 72 61 64 69 61 6e 73 2e | 20 20 49 66 20 74 68 65 |radians.| If the|
|000000e0| 20 61 72 67 75 6d 65 6e | 74 20 69 73 20 61 20 6d | argumen|t is a m|
|000000f0| 61 74 72 69 78 2c 20 74 | 68 65 6e 20 74 68 65 20 |atrix, t|hen the |
|00000100| 5c 76 65 72 62 2b 73 69 | 6e 2b 20 6f 70 65 72 61 |\verb+si|n+ opera|
|00000110| 74 69 6f 6e 0d 69 73 20 | 70 65 72 66 6f 72 6d 65 |tion.is |performe|
|00000120| 64 20 6f 6e 20 65 61 63 | 68 20 65 6c 65 6d 65 6e |d on eac|h elemen|
|00000130| 74 20 6f 66 20 74 68 65 | 20 6d 61 74 72 69 78 20 |t of the| matrix |
|00000140| 69 6e 20 74 75 72 6e 2e | 20 20 49 66 20 74 68 65 |in turn.| If the|
|00000150| 20 61 72 67 75 6d 65 6e | 74 20 69 73 0d 63 6f 6d | argumen|t is.com|
|00000160| 70 6c 65 78 2c 20 67 69 | 76 65 6e 20 62 79 20 24 |plex, gi|ven by $|
|00000170| 7a 24 2c 20 74 68 65 6e | 20 74 68 65 20 72 65 73 |z$, then| the res|
|00000180| 75 6c 74 20 69 73 3a 0d | 0d 5c 5b 20 5c 73 69 6e |ult is:.|.\[ \sin|
|00000190| 28 5c 52 65 28 7a 29 29 | 20 5c 63 6f 73 68 28 5c |(\Re(z))| \cosh(\|
|000001a0| 49 6d 28 7a 29 29 20 2b | 6a 20 5c 63 6f 73 28 5c |Im(z)) +|j \cos(\|
|000001b0| 52 65 28 7a 29 29 20 5c | 73 69 6e 68 28 5c 49 6d |Re(z)) \|sinh(\Im|
|000001c0| 28 7a 29 29 20 5c 5d 0d | 0d 0d 5c 70 61 72 61 67 |(z)) \].|..\parag|
|000001d0| 72 61 70 68 7b 45 78 61 | 6d 70 6c 65 7d 0d 5c 69 |raph{Exa|mple}.\i|
|000001e0| 6e 64 65 78 7b 65 78 61 | 6d 70 6c 65 20 6f 66 20 |ndex{exa|mple of |
|000001f0| 73 69 6e 28 29 7d 0d 5c | 69 6e 64 65 78 7b 73 69 |sin()}.\|index{si|
|00000200| 6e 28 29 21 65 78 61 6d | 70 6c 65 7d 0d 5c 62 65 |n()!exam|ple}.\be|
|00000210| 67 69 6e 7b 76 65 72 62 | 61 74 69 6d 7d 0d 3e 20 |gin{verb|atim}.> |
|00000220| 73 69 6e 28 30 29 0d 20 | 20 20 20 20 20 20 20 30 |sin(0). | 0|
|00000230| 0d 3e 20 73 69 6e 28 70 | 69 2f 34 29 0d 20 20 20 |.> sin(p|i/4). |
|00000240| 20 30 2e 37 30 37 0d 3e | 20 73 69 6e 28 2d 70 69 | 0.707.>| sin(-pi|
|00000250| 2f 32 29 0d 20 20 20 20 | 20 20 20 2d 31 0d 3e 20 |/2). | -1.> |
|00000260| 61 20 3d 20 72 61 6e 64 | 28 32 2c 35 29 2a 70 69 |a = rand|(2,5)*pi|
|00000270| 0d 20 61 20 3d 0d 20 20 | 20 20 30 2e 36 34 31 20 |. a =. | 0.641 |
|00000280| 20 20 20 20 20 20 32 2e | 30 36 20 20 20 20 20 20 | 2.|06 |
|00000290| 20 32 2e 38 36 20 20 20 | 20 20 20 30 2e 39 33 39 | 2.86 | 0.939|
|000002a0| 20 20 20 20 20 20 20 20 | 32 2e 32 0d 20 20 20 20 | |2.2. |
|000002b0| 30 2e 35 32 36 20 20 20 | 20 20 20 30 2e 34 30 35 |0.526 | 0.405|
|000002c0| 20 20 20 20 20 20 30 2e | 33 35 31 20 20 20 20 20 | 0.|351 |
|000002d0| 20 30 2e 38 33 34 20 20 | 20 20 20 20 20 32 2e 39 | 0.834 | 2.9|
|000002e0| 39 0d 3e 20 73 69 6e 28 | 61 29 0d 20 20 20 20 30 |9.> sin(|a). 0|
|000002f0| 2e 35 39 38 20 20 20 20 | 20 20 30 2e 38 38 34 20 |.598 | 0.884 |
|00000300| 20 20 20 20 20 30 2e 32 | 37 39 20 20 20 20 20 20 | 0.2|79 |
|00000310| 30 2e 38 30 37 20 20 20 | 20 20 20 30 2e 38 30 39 |0.807 | 0.809|
|00000320| 0d 20 20 20 20 30 2e 35 | 30 32 20 20 20 20 20 20 |. 0.5|02 |
|00000330| 30 2e 33 39 34 20 20 20 | 20 20 20 30 2e 33 34 34 |0.394 | 0.344|
|00000340| 20 20 20 20 20 20 30 2e | 37 34 31 20 20 20 20 20 | 0.|741 |
|00000350| 20 30 2e 31 35 36 20 0d | 5c 65 6e 64 7b 76 65 72 | 0.156 .|\end{ver|
|00000360| 62 61 74 69 6d 7d 0d 0d | 53 65 65 20 61 6c 73 6f |batim}..|See also|
|00000370| 3a 20 50 61 67 65 7e 5c | 70 61 67 65 72 65 66 7b |: Page~\|pageref{|
|00000380| 66 6e 3a 61 73 69 6e 7d | 20 5c 76 65 72 62 2b 61 |fn:asin}| \verb+a|
|00000390| 73 69 6e 28 29 2b 2c 0d | 50 61 67 65 7e 5c 70 61 |sin()+,.|Page~\pa|
|000003a0| 67 65 72 65 66 7b 66 6e | 3a 63 6f 73 7d 20 5c 76 |geref{fn|:cos} \v|
|000003b0| 65 72 62 2b 63 6f 73 28 | 29 2b 2c 0d 50 61 67 65 |erb+cos(|)+,.Page|
|000003c0| 7e 5c 70 61 67 65 72 65 | 66 7b 66 6e 3a 73 69 6e |~\pagere|f{fn:sin|
|000003d0| 68 7d 20 5c 76 65 72 62 | 2b 73 69 6e 68 28 29 2b |h} \verb|+sinh()+|
|000003e0| 2c 0d 50 61 67 65 7e 5c | 70 61 67 65 72 65 66 7b |,.Page~\|pageref{|
|000003f0| 66 6e 3a 74 61 6e 7d 20 | 5c 76 65 72 62 2b 74 61 |fn:tan} |\verb+ta|
|00000400| 6e 28 29 2b 2e 0d 0d 5c | 6e 65 77 70 61 67 65 0d |n()+...\|newpage.|
|00000410| 0d 0d | |.. | |
+--------+-------------------------+-------------------------+--------+--------+